Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

163
Views
serialization/deserialization of Node JS "undefined" in other languages

I'm serializing some data using message pack(@msgpack/msgpack) on a Node JS server and passing the serialized data via an HTTP communication to another software that is written in C++. My question is, what would a deserialized js "undefined" object look like on the C++ side?

Thanks in advance

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

The documentation says undefined and null are mapped to msgpack's nil, which is specified to be a single 0xC0 byte (192 in decimal).

To wit:

> require("@msgpack/msgpack").encode(undefined)
Uint8Array(1) [ 192 ]
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!